package com.car.dao.department;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.car.entity.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: DepartmentDao
 * @Description:
 * @Author 余全盛
 * @Date: 2021/12/2 14:47
 */
@Repository
public interface DepartmentDao extends BaseMapper<Department> {
    List<Department> getAllDepartment();

    Department getDepartmentByName(String departmentName);
}
